/***************************************************************************************************
  Copyright(C)   2011-2013
  All rights reserved.
  File Name: udpsocketthread.h

  Description:CE通信线程模块，用于调用实际处理CE通信的模块
  ***************************************************************************************************/

#ifndef UDPSOCKETTHREAD_H
#define UDPSOCKETTHREAD_H

#include <QThread>
#include <QMetaType>


#include "ceudpsocket.h"

class UdpSocketThread : public QThread
{
    Q_OBJECT
public:
    explicit UdpSocketThread(const quint16 port, QObject *parent = 0);

    ~UdpSocketThread();
protected:
    void run();


private:
    quint16 m_port;

signals:
    void receRouteMsg(const PIDS_RouteMsg&);
    void receCtlCmd(const PIDS_ControlPIDS&);

public slots:

};

#endif // UDPSOCKETTHREAD_H
